
from .api_current import ApiCurrent

from flask import Flask, request, Blueprint

from . import app_current

@app_current.route('/openid', methods=['GET', 'POST'])
    
def openid():

    methods = request.method

    info = request.form

    openid = info.get('openid')

    with ApiCurrent() as conn_api:

        result_info = conn_api.current_openid(methods,openid)

    return result_info

    